import { Module } from '@nestjs/common';
import { DesignController } from './design.controller';
import { DesignService } from './design.service';
import { DesignPage } from './design-page.entity';
import { TypeOrmModule } from '@nestjs/typeorm';

@Module({
  imports: [
    TypeOrmModule.forFeature([DesignPage])
  ], // 注册实体
  controllers: [DesignController],
  providers: [DesignService]
})
export class DesignModule { }
